package com.nbst.model.mes;

import java.util.Date;

/**
 * 
 * @ClassName: MrpIcmoEntry
 * @Description:MRP生成的生产任务单的分录
 * @author King
 * @date 2019年3月27日
 *
 */
public class MrpIcmoEntry {
	/** MRP生产任务单主表id */
	private Integer fInterID;

	/** 分录表id */
	private Integer fEntryID;

	/** 物料内码 */
	private Integer fItemID;

	/** 物料名称 */
	private String fName;

	/** 物料代码 */
	private String fNumber;

	/** 规格型号 */
	private String fModel;

	/** 需求数量 */
	private Double fQty;

	/** 部门id */
	private Integer fDepId;

	/** 开始时间 */
	private Date fStartTime;

	/** 结束时间 */
	private Date fEndTime;

	/** 关闭 */
	private Integer fClosed;

	/** 销售订单分录主键 */
	private Integer fDetailID;

	/** 该分录在销售订单中的层级 */
	private Integer rank;

	/** 备注 */
	private String fNote;

	/** 生成该任务单里的上级物料代码 */
	private String fPid;

	/** 摘要 */
	private String fExplanation;

	private String fUUID;

	public Integer getfItemID() {
		return fItemID;
	}

	public void setfItemID(Integer fItemID) {
		this.fItemID = fItemID;
	}

	public String getfName() {
		return fName;
	}

	public void setfName(String fName) {
		this.fName = fName == null ? null : fName.trim();
	}

	public String getfNumber() {
		return fNumber;
	}

	public void setfNumber(String fNumber) {
		this.fNumber = fNumber == null ? null : fNumber.trim();
	}

	public String getfModel() {
		return fModel;
	}

	public void setfModel(String fModel) {
		this.fModel = fModel == null ? null : fModel.trim();
	}

	public Double getfQty() {
		return fQty;
	}

	public void setfQty(Double fQty) {
		this.fQty = fQty;
	}

	public Integer getfDepId() {
		return fDepId;
	}

	public void setfDepId(Integer fDepId) {
		this.fDepId = fDepId;
	}

	public Date getfStartTime() {
		return fStartTime;
	}

	public void setfStartTime(Date fStartTime) {
		this.fStartTime = fStartTime;
	}

	public Date getfEndTime() {
		return fEndTime;
	}

	public void setfEndTime(Date fEndTime) {
		this.fEndTime = fEndTime;
	}

	public Integer getfClosed() {
		return fClosed;
	}

	public void setfClosed(Integer fClosed) {
		this.fClosed = fClosed;
	}

	public Integer getfDetailID() {
		return fDetailID;
	}

	public void setfDetailID(Integer fDetailID) {
		this.fDetailID = fDetailID;
	}

	public Integer getRank() {
		return rank;
	}

	public void setRank(Integer rank) {
		this.rank = rank;
	}

	public String getfNote() {
		return fNote;
	}

	public void setfNote(String fNote) {
		this.fNote = fNote == null ? null : fNote.trim();
	}

	public String getfPid() {
		return fPid;
	}

	public void setfPid(String fPid) {
		this.fPid = fPid == null ? null : fPid.trim();
	}

	public String getfExplanation() {
		return fExplanation;
	}

	public void setfExplanation(String fExplanation) {
		this.fExplanation = fExplanation == null ? null : fExplanation.trim();
	}

	public Integer getfInterID() {
		return fInterID;
	}

	public void setfInterID(Integer fInterID) {
		this.fInterID = fInterID;
	}

	public Integer getfEntryID() {
		return fEntryID;
	}

	public void setfEntryID(Integer fEntryID) {
		this.fEntryID = fEntryID;
	}

	public String getfUUID() {
		return fUUID;
	}

	public void setfUUID(String fUUID) {
		this.fUUID = fUUID;
	}

	@Override
	public String toString() {
		return "MrpIcmoEntry [fInterID=" + fInterID + ", fEntryID=" + fEntryID + ", fItemID=" + fItemID + ", fName="
				+ fName + ", fNumber=" + fNumber + ", fModel=" + fModel + ", fQty=" + fQty + ", fDepId=" + fDepId
				+ ", fStartTime=" + fStartTime + ", fEndTime=" + fEndTime + ", fClosed=" + fClosed + ", fDetailID="
				+ fDetailID + ", rank=" + rank + ", fNote=" + fNote + ", fPid=" + fPid + ", fExplanation="
				+ fExplanation + ", fUUID=" + fUUID + "]";
	}
}